package com.example.mapper;
import com.example.pojo.GsType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.vo.respvo.Option;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 物品分类表 Mapper 接口
 * </p>
 *
 * @author wsl
 * @since 2022-04-11
 */
@Mapper
@Repository
public interface GsTypeMapper extends BaseMapper<GsType> {

    /**
     * 获取物品类别选项
     * @return
     */
    List<Option> selectGsTypeOptions(@Param("parentId") Integer parentId);
}
